function XCheck(){
    var xPosition = $("[name=xPosition] option:selected").html();
    if(xPosition=="请选择"){
        swal("信息提示!","请选择检查部位","warning");
        return;
    }
    var caseId = $("[name=caseId]").val();
    var param = "caseId="+caseId+"&xPosition="+xPosition;
    console.info(param)
    $.post(ctx+"/director/xInfo/addXInfo",param,function(msg){
        swal({
            title:"信息提示！",
            text:msg,
            type:"success",
            allowOutsideClick:false
        }).then(function () {
            $("#back").trigger("click");
        });
    });
}